using RobotSimulator.Basic;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class WheelLegRobot : BasicRobot
{
    [HideInInspector]
    public WheelActuator LeftWheel;
    [HideInInspector]
    public WheelActuator RightWheel;
    [HideInInspector]
    public IMU imu;
    protected override void Start()
    {
        base.Start();
        LeftWheel= (WheelActuator)this.actuators[0];
        RightWheel= (WheelActuator)this.actuators[1];
        foreach(var sensor in sensors)
        {
            if(sensor is IMU)
            {
                imu= (IMU)sensor;
            }
        }
        
    }
}
